package jianzhiOffer;

public class num17 {
    public int[] printNumbers(int n) {
        int res = (int)Math.pow(10,n) - 1;
        int[] arr = new int[res];
        for(int i = 0;i < res;i ++) {
            arr[i] = i + 1;
        }
        return arr;
    }
}
